Application\Home\View\News\index.html
<div class="header1">
    <div class="warp clearfix">
        <img class="logo" src="__PUBLIC__/img/logo.png" />
        <ul class="head-nav clearfix">
            <li <if condition="$newsData['cateInfo']['flag'] eq 'xyxw'"> class="active" </if> ><a href="{:U('Home/News/index',array('flag'=>xyxw))}">行业新闻</a></li>
            <li <if condition="$newsData['cateInfo']['flag'] eq 'zfgl'"> class="active" </if> ><a href="{:U('Home/News/index',array('flag'=>zfgl))}">找房攻略</a></li>
        </ul>
    </div>
</div>

<!--内容-->
<div class="warp news-cont clearfix">
    <div class="news-left">
        <ul class="news-list">
            <volist name="newsData['newsList']['data']" id="news">
                <li>
                    <a target="_blank" href="{:U('Home/News/detail',array('newsId'=>$news['id']))}">
                        <img class="news-img" src="__ROOT__{$news.pic}">
                        <div>
                            <h2 class="news-tit">{$news.title}</h2>
                            <div class="time">{$news.update_time|date='Y-m-d',###}</div>
                            <p class="news-text">{$news.description}</p>
                        </div>
                    </a>
                </li>
            </volist>
        </ul>
        <div class="fenye">
            {$newsData['newsList']['page']}
        </div>
    </div>

    <div class="news-right">
        <div class="ad-piece">
            <img src="__PUBLIC__/img/new.png" width="282px" />
            <!--<div class="ad-box">
                <p class="ad-text1">精选南京秦淮商圈，5000套有格调公司</p>
                <p class="ad-text2">[南京秦淮区]</p>
            </div>
            -->
        </div>
        <!--
        <div class="hot-piece">
            <h3 class="hot-piece-tit">热门资讯</h3>
            <ul class="hot-list">
                <volist name="hotList['data']" id="news">
                    <li>
                        <a href="{:U('Home/News/detail',array('newsId'=>$news['id']))}">
                            <span <if condition="$i lt 4">class="red"</if> >{$i}.</span>{$news.title}
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        -->

        <div class="hot-piece">
            <h3 class="hot-piece-tit clearfix"><span>热门写字楼推荐</span><!--<a class="more">更多&gt;</a>--></h3>
            <ul class="hot-list2">
                <volist name="hotHouse['list']" id="hot">
                    <li>
                        <a target="_blank" href="{:U('Home/House/detail',array('house_id'=>$hot['id']))}">
                            <img src="__ROOT__{$hot.attachment.0.attachment|getThumbImageUrl=90,60}" />
                            <div class="text">
                                <p>{$hot.name}</p>
                                <p>{$hot.house_rent}元/㎡·天</p>
                                <p>{$hot.position}</p>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
    </div>
</div>